package com.wms.dto;

import com.wms.entity.ProcessIn;
import com.wms.entity.PurchaseStockIn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("参数")
@AllArgsConstructor
@NoArgsConstructor
public class QueryDTO {
    @ApiModelProperty(value = "当前页,默认为第1页",example = "1")
    private Integer page;
    @ApiModelProperty(value = "每页最大记录数,默认为10",example = "10")
    private Integer pageSize;
    @ApiModelProperty("查询类型: process-加工入库, purchase-采购入库任务单, direct-直接入库任务单")
    private String a_type;
    // 加工入库查询条件
    @ApiModelProperty(hidden = true)  // Swagger文档中隐藏，避免混淆
    private ProcessIn processIn;

    // 采购入库查询条件
    @ApiModelProperty(hidden = true)
    private PurchaseStockIn purchaseStockIn;

    // 直接入库查询条件
    @ApiModelProperty(hidden = true)
    private DirectInDTO directIn;

}
